package com.jccfc.enums;

/**
 * @Auther: qym
 * @Date: 2021/1/4 14:33
 * @Description: 发送消息后 返回的状态枚举
 */
public enum MessageRtnCodeEnum {

    SUCCESS("0000", "发送成功"),
    ERR_001("E001", "发送失败"),
    ERR_101("E101", "不支持的系统ID"),
    ERR_102("E102", "短信参数不完整"),
    ERR_103("E103", "请求流水号重复"),
    ERR_104("E104", "不支持的短信模板编号"),
    ERR_999("E999", "短信异常，请联系系统管理员");

    private String rtnCode;
    private String desc;

    MessageRtnCodeEnum(String rtnCode, String desc) {
        this.rtnCode = rtnCode;
        this.desc = desc;
    }

    public String getRtnCode() {
        return rtnCode;
    }

    public void setRtnCode(String rtnCode) {
        this.rtnCode = rtnCode;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
